import 'package:json_annotation/json_annotation.dart';
part 'home_banner_model.g.dart';


@JsonSerializable()
class HomeBannerModel {
  final String url;
  final String bannerText;
  final String bannerImage;
  final String type;

  HomeBannerModel({
    required this.url,
    required this.bannerText,
    required this.bannerImage,
    required this.type,
  });

  factory HomeBannerModel.fromJson(Map<String, dynamic> json) =>
      _$HomeBannerModelFromJson(json);

  Map<String, dynamic> toJson() => _$HomeBannerModelToJson(this);
}
